package com.opgea.crm.repository;

import java.util.List;

import com.opgea.crm.domain.entities.ProjectDetails;
import com.opgea.crm.domain.entities.SetupsValue;
import com.opgea.crm.domain.entities.Task;
import com.opgea.crm.domain.entities.TaskComment;
import com.opgea.crm.domain.entities.security.CrmUser;

public interface TaskRepo {
    
    public Long createTask(Task task);
    public void updateTask(Task task);
    public Long deleteTask(Long taskid);
    public List<Task> tasksByProjectId(Long projectid,Long priorityId,Long assigntoId,CrmUser user);
    public List<ProjectDetails> allProjectAndMembers(Long projectId);
    public List<SetupsValue> allProjects();
    public Task findTaskById(Long taskId);
    public List<Task> tasksListByProjectId(Long projectId);
    public List<TaskComment> findAllCommentsByTaskId(long taskId);
}
